package com.jikexueshe.crm.common;

/**
 * @author qiangweizhang
 *
 */
public class ResultVO {
	
	/**
	 * 相应状态：404没有查询到，500内部错误
	 */
	private Integer status = 200;
	/**
	 * 响应的提示信息
	 */
	private String msg;
	
	private Long total;
	private Object rows;
	
	public ResultVO(Integer status, String msg, Long total, Object rows) {
		super();
		this.status = status;
		this.msg = msg;
		this.total = total;
		this.rows = rows;
	}

	public ResultVO(Integer status, String msg) {
		super();
		this.status = status;
		this.msg = msg;
	}

	public ResultVO(Long total, Object rows) {
		super();
		this.total = total;
		this.rows = rows;
	}
	
	

	public ResultVO(Object rows) {
		super();
		this.rows = rows;
	}

	public ResultVO() {
		super();
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public Object getRows() {
		return rows;
	}

	public void setRows(Object rows) {
		this.rows = rows;
	}
	

}
